package yur.wedding.modules.sys.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import yur.wedding.modules.sys.entity.SysUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统用户
 *
 * @author Yur
 * @email ${email}
 * @date 2021-11-09 21:15:10
 */
@Mapper
public interface SysUserDao extends BaseMapper<SysUserEntity> {


    List<String> queryAllPerms(Long userId);

    List<Long> queryDeptListPage(Long deptId);


    //根据workCode  查询
    SysUserEntity selectWorkCode(String workCode);

    //根据账号  查询
    SysUserEntity selectUserName(String username);
}


   
